<?php

namespace App\Models;


use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class SwtProcurementGoods extends Model
{
    use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'swt_procurement_goods';

    protected $guarded = [];

    public function goods()
    {
        return $this->hasOne(SwtGood::class,'id','good_id');
    }


}
